/*
********************************************************************************
* Copyright (C) 2022, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : memento.h
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2022-03-04 version v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
                Compile command: make
********************************************************************************
*/
#ifndef __MEMENTO_H__
#define __MEMENTO_H__

#include <string>

class COriginator;

class CMemento
{
public:
    explicit CMemento(void *pInfo, int size);

    ~CMemento();

    int GetInfo(void *info, int size);

private:
    std::string date;
    void *mpInfo;
};

#endif
